<?php

class Inventarios extends ActiveRecord{
	
	
  	public function initialize(){ 	
        $this->has_one('productos');	
    }
		
	public function guardar($inventario = NULL){		
		
		return $this->save($inventario);
	}	
	
}